#ifndef SIGNUP_H
#define SIGNUP_H

#include <QWidget>
#include "widget.h"
#include "localdb.h"
#include <QHostInfo>
#include <QFileInfo>
#include <QFileDialog>
#include <QFile>
#include <QTime>
#include <QTimer>
#include <QMessageBox>
#include <QThread>

namespace Ui {
class signup;
}

class signup : public QWidget
{
    Q_OBJECT

public:
    explicit signup(QWidget *parent = nullptr);
    ~signup();
    SerSocket *m_socket;

private slots:
    void on_pushButton_2_clicked();

    void on_btn_return_clicked();

    void signupResult(const QString);

private:
    Ui::signup *ui;
signals:
    void Online(const QByteArray& info,const uint16_t& cmd);
};

#endif // SIGNUP_H
